﻿<%@ Page Language="C#" MasterPageFile="~/AdminZone/AdminMaster.master" AutoEventWireup="true" CodeFile="MemberDetails.aspx.cs" Inherits="AdminZone_MemberDetails" Title="Untitled Page" %>

<%@ Register Assembly="obout_Grid_NET" Namespace="Obout.Grid" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="toolbar-box">
        <div class="m">
            <div class="pagetitle icon-Member">
                <h2>Thông tin tài khoản thành viên [<asp:Label ID="lblFullName" runat="server" Text="Label"></asp:Label>]</h2>
                <h4>(Đăng nhập lần cuối lúc: 
                    <asp:Label ID="lblLastLogin" runat="server"></asp:Label>)</h4>
            </div>
        </div>
    </div>
    <div id="element-box">
        <div class="m">
            <div class="width-40 fltrt">
                <fieldset class="adminform">
                    <legend>Change password</legend>
                        <%--<span style='font-size:12.0pt;mso-bidi-font-size:12.0pt;color:blue'>THAY ĐỔI MẬT KHẨU</span>--%>
                    <ul>
                    	<li>
                    	    <label id="Label17" class="required" title="Thông tin mô tả"></label>
                            <%--<asp:Label ID="lblUpdate" runat="server" ForeColor="Red" Font-Bold="True" EnableViewState="false"></asp:Label>--%>
                    	</li>
                    </ul>
                    <ul class="adminformlist">
                        <li>
                            <label id="Label3" class="required" title="Nhập mật khẩu cũ">
                                Nhập mật khẩu cũ :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtOldPassword" runat="server"
                                class="required"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label4" class="required" title="Nhập mật khẩu mới">
                                Nhập mật khẩu mới :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtNewPassword" runat="server"
                                class="required"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label5" class="required" title="Nhập lại mật khẩu cũ">
                                Nhập lại mật khẩu mới :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtReNewPassword" runat="server"
                                class="required"></asp:TextBox>
                        </li>
                        <li>    
                            <label id="Label14" class="required" title="Thông tin mô tả"></label>
		                    <asp:Button ID="btnSavePass" runat="server" Text="Save" class="button" 
                                onclick="btnSavePass_Click"/>
                            <asp:Button ID="btnClearPass" runat="server" Text="Clear" class="button" 
                                onclick="btnClearPass_Click"/>
                        </li>
                        <li class="clearing">
                            <asp:Label ID="lblUpdate" runat="server" ForeColor="Red" Font-Bold="True" EnableViewState="false"></asp:Label>
                        </li>
                    </ul>
                </fieldset>
            </div>
            <div class="width-60 fltlft">
                <fieldset class="adminform">
                    <legend>Personal Information</legend>
                    <ul class="adminformlist">
                        <li>
                            <label id="Label15" class="required" title="Thông tin mô tả"></label>
                            (red color: cannot edit)
                        </li>
                        <li>
                            <label id="Label13" class="required" title="Thông tin mô tả">
                                Code References :</label>
                            <asp:TextBox MaxLength="30" size="50" ID="txtRefCode" runat="server" ReadOnly="true"
                                 ForeColor="Red"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label1" class="required" title="Thông tin mô tả">
                                Tên người dùng :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" size="50" ID="txtFullName" runat="server" class="required"
                                Text="Demo"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label6" class="required" title="Thông tin mô tả">
                                Tài khoản đăng nhập :</label>
                            <asp:TextBox MaxLength="30" size="50" ID="txtUsername" runat="server" ReadOnly="true"
                                Text="Demo" ForeColor="Red"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label10" class="required" title="Thông tin mô tả">
                                Ngày sinh :</label>
                            <asp:TextBox MaxLength="30" size="50" ReadOnly="true" ID="txtBirthday" runat="server"
                                Text="20 - 10 - 2011"  ForeColor="Red"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label9" class="required" title="Thông tin mô tả">
                                Ngày đăng ký :</label>
                            <asp:TextBox MaxLength="30" size="50" ReadOnly="true" ID="txtRegDate" runat="server"
                                Text="20 - 10 - 2011"  ForeColor="Red"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label7" class="required" title="Thông tin mô tả">
                                Mobile :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" size="50" ID="txtMobile" runat="server" class="required"
                                Text="Demo"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label8" class="required" title="Thông tin mô tả">
                                Địa chỉ :<span class="star">&#160;*</span></label>
                            <asp:TextBox MaxLength="30" size="50" ID="txtAddress" runat="server" class="required"
                                Text="Demo"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label2" title="Thông tin mô tả.">
                                Trạng thái :</label>
                            <fieldset id="Fieldset1" class="radio">
                                <input type="radio" id="Radio1" name="radio" value="0"/>
                                <label>
                                    Lock</label><input type="radio" id="Radio2" name="radio" checked="checked" value="1" />
                                <label>
                                    Avaiable</label>
                            </fieldset>
                        </li>
                                                
                        <li>
                            <label id="Label16" class="required" title="Thông tin mô tả"></label>
		                    <asp:Button ID="btnUpdate" runat="server" Text="Save" class="button" 
                                onclick="btnUpdate_Click"/>
                            <asp:Button ID="btnClearInfo" runat="server" Text="Clear" class="button" 
                                onclick="btnClearInfo_Click"/>
                        </li>
                         <li class="clearing">
                            <asp:Label ID="lblSaveChange" runat="server" ForeColor="Red" Font-Bold="True" EnableViewState="false"></asp:Label>
                        </li>
                    </ul>
                </fieldset>
            </div>
            <div class="width-40 fltrt">
                <fieldset class="adminform">
                    <legend>Property</legend>
                    <%--<span style='font-size:12.0pt;mso-bidi-font-size:12.0pt;color:blue'>
			            THAY ĐỔI MẬT KHẨU
			        </span>--%>
                    <ul class="adminformlist">
                        <li>
                            <label id="Label11" class="required" title="">
                                Tổng tài sản cá nhân :</label>
                            <asp:TextBox MaxLength="30"  size="30" ID="txtTotalPoint" ReadOnly="true"
                                runat="server" ForeColor="Red" Font-Bold="true"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label12" title="">
                                Số thành viên giới thiệu :</label>
                            <asp:TextBox MaxLength="30" size="30" ID="txtTotalMemberRef" ReadOnly="true"
                                runat="server" ForeColor="Red" Font-Bold="true"></asp:TextBox>
                        </li>
                    </ul>
                </fieldset>
            </div>
            <div class="width-100 fltlft">
                <fieldset class="adminform">
                    <legend>Transaction</legend>
                    <table class="mainbox-border" id="table12" border="0" cellpadding="10" cellspacing="1"
                        width="100%">
                        <tbody>
                            <tr>
                                <td align="center">
                                    <fieldset>
                                        <legend>OrderDate</legend>
                                        <table>
                                            <tr>
                                                <td align="center">
                                                    <cc1:Grid ID="Grid1" runat="server" AllowAddingRecords="False" 
                                                        AllowFiltering="True" AllowGrouping="True" AutoGenerateColumns="False">
                                                        <Columns>
                                                            <cc1:Column DataField="Date" HeaderText="Ngày giao dịch" Index="0">
                                                            </cc1:Column>
                                                            <cc1:Column DataField="ReasonChange" HeaderText="Lý do giao dịch" Index="1" Width="550px">
                                                            </cc1:Column>
                                                            <cc1:Column DataField="FirstMoney" HeaderText="Số points trước giao dịch" 
                                                                Index="2" Width="200px">
                                                            </cc1:Column>
                                                            <cc1:Column DataField="LastMoney" HeaderText="Số points sau giao dịch" 
                                                                Index="3" Width="200px">
                                                            </cc1:Column>
                                                        </Columns>
                                                    </cc1:Grid>
                                                </td>
                                            </tr>
                                        </table>                                        
                                    </fieldset>
                                </td>                                                                                                                            
                            </tr>
                        </tbody>
                    </table>
                </fieldset>
            </div>
            <div class="clr" />
        </div>
    </div>
</asp:Content>

